package com.springboot.listener;

import com.springboot.event.LoginExitEvent;
import org.springframework.context.ApplicationListener;

public class ConfigListener implements ApplicationListener<LoginExitEvent> {
    @Override
    public void onApplicationEvent(LoginExitEvent event) {

        System.out.println("退出系统：通过配置文件yml文件配置的监听器");
    }
}
